export default{
    "panels":[
        {
            "index":0,
            "name":1,
            "height":100,
            "width":220,
            "paperHeader":0,
            "paperFooter":283.46456692913387,
            "printElements":[
                {
                    "options":{
                        "left":31.5,
                        "top":30,
                        "height":16,
                        "width":166.5,
                        "field":"bill.businessTime",
                        "testData":"2023-07-20",
                        "fontSize":10.5,
                        "textContentVerticalAlign":"middle",
                        "title":"开单日期",
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "qrCodeLevel":0,
                        "right":195,
                        "bottom":98.5,
                        "vCenter":111.75,
                        "hCenter":90.5
                    },
                    "printElementType":{
                        "title":"业务日期",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":400.5,
                        "top":33,
                        "height":16,
                        "width":168,
                        "field":"bill.billNo",
                        "testData":"ZUO18020030720",
                        "fontSize":10.5,
                        "textContentVerticalAlign":"middle",
                        "title":"订单编号",
                        "right":538.5,
                        "bottom":101.5,
                        "vCenter":474,
                        "hCenter":93.5,
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "qrCodeLevel":0
                    },
                    "printElementType":{
                        "title":"订单编号",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":31.5,
                        "top":60,
                        "height":16,
                        "width":120,
                        "field":"bill.comegoName",
                        "testData":"高级客户",
                        "fontSize":10.5,
                        "fontWeight":"700",
                        "textContentVerticalAlign":"middle",
                        "title":"客户名称",
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "fontFamily":"SimSun",
                        "qrCodeLevel":0,
                        "right":148.5,
                        "bottom":128.5,
                        "vCenter":88.5,
                        "hCenter":120.5
                    },
                    "printElementType":{
                        "title":"客户名称",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":27,
                        "top":81,
                        "height":38,
                        "width":550,
                        "tableFooterRepeat":"last",
                        "field":"billDetailList",
                        "tableHeaderRepeat":"first",
                        "fields":[
                            {
                                "text":"编号",
                                "field":"code"
                            },
                            {
                                "text":"品名",
                                "field":"name"
                            },
                            {
                                "text":"色号",
                                "field":"colorNumber"
                            },
                            {
                                "text":"颜色",
                                "field":"color"
                            },
                            {
                                "text":"幅宽",
                                "field":"widthValue"
                            },
                            {
                                "text":"克重",
                                "field":"gramWeightValue"
                            },
                            {
                                "text":"1",
                                "field":"sn1"
                            },
                            {
                                "text":"2",
                                "field":"sn2"
                            },
                            {
                                "text":"3",
                                "field":"sn3"
                            },
                            {
                                "text":"4",
                                "field":"sn4"
                            },
                            {
                                "text":"5",
                                "field":"sn5"
                            },
                            {
                                "text":"匹数",
                                "field":"piecesCount"
                            },
                            {
                                "text":"数量",
                                "field":"quantity"
                            },
                            {
                                "text":"单价",
                                "field":"priceBfDiscount"
                            },
                            {
                                "text":"金额",
                                "field":"totalPrice"
                            },
                            {
                                "text":"备注",
                                "field":"remarks"
                            }
                        ],
                        "footerFormatter":"function(options, rows, data, currentPageGridRowsData) {\n            if (JSON.stringify(data) == \"{}\")\n              return \"\";\n            if (data == void 0)\n              return \"\";\n            if (data && data[\"bill\"][\"debtThisTime\"]) {\n              return `<tr>\n\t\t\t\t\t\t\t\t<td colspan=\"100\">本单金额：<span>${data[\"bill\"][\"debtThisTime\"]}</span></td>\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t<tr><td colspan=\"100\">\n\t\t\t\t\t\t\t\t<span>前欠金额：${data[\"bill\"][\"debtCurrent\"]}</span><span>  </span>\n\t\t\t\t\t\t\t\t<span style=\"margin-left:80px\">累计应收款：</span><span style=\"color:red\">${data[\"bill\"][\"debtTotal\"]}</span>\n\t\t\t\t\t\t\t\t</td></tr>`;\n            } else {\n              return `<tr>\n\t\t\t\t\t\t\t\t<td colspan=\"100\">本单金额:</td>\n\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t<tr><td colspan=\"100\">\n\t\t\t\t\t\t\t\t<span>前欠金额：</span><span>  </span>\n\t\t\t\t\t\t\t\t<span style=\"margin-left:80px\">累计应收款：</span><span style=\"color:red\"></span>\n\t\t\t\t\t\t\t\t</td></tr>`;\n            }\n          }",
                        "gridColumnsFooterFormatter":"function(options, rows, data, currentPageRowsData) {\n            if (JSON.stringify(data) == \"{}\")\n              return \"\";\n            if (data == void 0)\n              return \"\";\n            if (data && data[\"totalPage\"]) {\n              return `<td td style=\"padding:0 10px\" colspan=\"100\">第${data[\"page\"]}/${data[\"totalPage\"]}页</td>`;\n            } else {\n              return `<td td style=\"padding:0 10px\" colspan=\"100\">第1/1页</td>`;\n            }\n          }",
                        "right":573.25,
                        "bottom":170.75,
                        "vCenter":298.25,
                        "hCenter":151.75,
                        "columns":[
                            [
                                {
                                    "width":51.2422360248447,
                                    "title":"产品编号",
                                    "field":"code",
                                    "checked":true,
                                    "columnId":"code",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":27.32919254658384,
                                    "title":"产品名称",
                                    "field":"name",
                                    "checked":true,
                                    "columnId":"name",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":27.32919254658384,
                                    "title":"色号",
                                    "field":"colorNumber",
                                    "checked":true,
                                    "columnId":"colorNumber",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"颜色",
                                    "field":"color",
                                    "checked":true,
                                    "columnId":"color",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"幅宽",
                                    "field":"widthValue",
                                    "checked":true,
                                    "columnId":"widthValue",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"克重",
                                    "field":"gramWeightValue",
                                    "checked":true,
                                    "columnId":"gramWeightValue",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"1",
                                    "field":"sn1",
                                    "checked":true,
                                    "columnId":"sn1",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"2",
                                    "field":"sn2",
                                    "checked":true,
                                    "columnId":"sn2",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"3",
                                    "field":"sn3",
                                    "checked":true,
                                    "columnId":"sn3",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"4",
                                    "field":"sn4",
                                    "checked":true,
                                    "columnId":"sn4",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"5",
                                    "field":"sn5",
                                    "checked":true,
                                    "columnId":"sn5",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"匹数",
                                    "field":"piecesCount",
                                    "checked":true,
                                    "columnId":"piecesCount",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"数量",
                                    "field":"quantity",
                                    "checked":true,
                                    "columnId":"quantity",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"单价",
                                    "field":"priceBfDiscount",
                                    "checked":true,
                                    "columnId":"priceBfDiscount",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"金额",
                                    "field":"totalPrice",
                                    "checked":true,
                                    "columnId":"totalPrice",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                },
                                {
                                    "width":34.16149068322981,
                                    "title":"备注",
                                    "field":"remarks",
                                    "checked":true,
                                    "columnId":"remarks",
                                    "fixed":false,
                                    "rowspan":1,
                                    "colspan":1,
                                    "align":"center"
                                }
                            ]
                        ]
                    },
                    "printElementType":{
                        "title":"布料出库单",
                        "type":"table",
                        "editable":true,
                        "columnDisplayEditable":true,
                        "columnDisplayIndexEditable":true,
                        "columnTitleEditable":true,
                        "columnResizable":true,
                        "columnAlignEditable":true,
                        "isEnableEditField":true,
                        "isEnableContextMenu":true,
                        "isEnableInsertRow":true,
                        "isEnableDeleteRow":true,
                        "isEnableInsertColumn":true,
                        "isEnableDeleteColumn":true,
                        "isEnableMergeCell":true
                    }
                },
                {
                    "options":{
                        "left":237,
                        "top":172.5,
                        "height":16,
                        "width":120,
                        "field":"bill.handUserName",
                        "fontSize":10.5,
                        "textContentVerticalAlign":"middle",
                        "title":"经手人",
                        "right":351.75,
                        "bottom":191.5,
                        "vCenter":291.75,
                        "hCenter":183.5,
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "qrCodeLevel":0
                    },
                    "printElementType":{
                        "title":"客户名称",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":354,
                        "top":172.5,
                        "height":16,
                        "width":120,
                        "field":"consignee",
                        "fontSize":10.5,
                        "textContentVerticalAlign":"middle",
                        "title":"收货人签收",
                        "right":516.75,
                        "bottom":193,
                        "vCenter":456.75,
                        "hCenter":185,
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "qrCodeLevel":0
                    },
                    "printElementType":{
                        "title":"客户名称",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":121.5,
                        "top":174,
                        "height":16,
                        "width":120,
                        "field":"bill.createUserName",
                        "fontSize":10.5,
                        "textContentVerticalAlign":"middle",
                        "title":"制单人",
                        "right":237,
                        "bottom":190,
                        "vCenter":177,
                        "hCenter":182,
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "qrCodeLevel":0
                    },
                    "printElementType":{
                        "title":"客户名称",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":33,
                        "top":177,
                        "height":9.75,
                        "width":57,
                        "field":"pagesry",
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "fontSize":10.5,
                        "qrCodeLevel":0,
                        "right":87,
                        "bottom":239.25,
                        "vCenter":58.5,
                        "hCenter":234.375,
                        "title":"页数"
                    },
                    "printElementType":{
                        "title":"文本",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":486,
                        "top":183,
                        "height":75,
                        "width":75,
                        "field":"imgurl",
                        "fit":"",
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "src":"assets/20230902151801.jpg"
                    },
                    "printElementType":{
                        "title":"微信",
                        "type":"image"
                    }
                },
                {
                    "options":{
                        "left":472.5,
                        "top":192,
                        "height":46.5,
                        "width":13.5,
                        "title":"微信",
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "fontSize":10.5,
                        "letterSpacing":12,
                        "textContentVerticalAlign":"middle",
                        "lineHeight":20.25,
                        "qrCodeLevel":0,
                        "right":458.25,
                        "bottom":255,
                        "vCenter":451.5,
                        "hCenter":231.75
                    },
                    "printElementType":{
                        "title":"文本",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":310.5,
                        "top":195,
                        "height":16,
                        "width":120,
                        "field":"tel",
                        "testData":"1388888888",
                        "fontSize":10.5,
                        "textContentVerticalAlign":"middle",
                        "title":"电话",
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "qrCodeLevel":0
                    },
                    "printElementType":{
                        "title":"客户电话",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":33,
                        "top":196.5,
                        "height":9.75,
                        "width":261,
                        "title":"地址：浙江省绍兴市柯桥区发展路999号天衣工业园6栋",
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "fontSize":10.5,
                        "qrCodeLevel":0,
                        "right":149.25,
                        "bottom":206.25,
                        "vCenter":89.25,
                        "hCenter":201.375
                    },
                    "printElementType":{
                        "title":"文本",
                        "type":"text"
                    }
                },
                {
                    "options":{
                        "left":33,
                        "top":216,
                        "height":9.75,
                        "width":430.5,
                        "title":"您不要裁剪和深加工，并第一时间联系客服，我们将竭诚为您服务，为此对您造成的不便，我们深表歉意！",
                        "right":460.5,
                        "bottom":225,
                        "vCenter":245.25,
                        "hCenter":220.125,
                        "coordinateSync":false,
                        "widthHeightSync":false,
                        "fontSize":7.5,
                        "qrCodeLevel":0
                    },
                    "printElementType":{
                        "title":"文本",
                        "type":"text"
                    }
                }
            ],
            "paperNumberLeft":567,
            "paperNumberTop":265.5,
            "paperNumberContinue":true,
            "watermarkOptions":{
                "content":"",
                "fillStyle":"rgba(184, 184, 184, 0.3)",
                "fontSize":"14px",
                "rotate":25,
                "width":200,
                "height":200,
                "timestamp":false,
                "format":"YYYY-MM-DD HH:mm"
            }
        }
    ]
}